package com.qqt.csr.ixport.vo.req;

import com.qqt.csr.common.idempotent.RequestKeyParam;
import com.qqt.csr.common.operalog.OperaLogSchema;
import com.qqt.csr.ixport.enums.TaskStatus;
import com.qqt.csr.ixport.enums.TaskType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @Author: yang hao
 * @Date: 2025/1/20 9:25
 * @Description: 批量导入任务新增请求参数
 **/
@Data
@Schema(name = "QueryingImportTaskReqVO", description = "查询导入列表请求参数")
public class QueryingImportTaskReqVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 任务类型：SW 敏感词导入
     */
    @Schema(description = "任务类型：SENSITIVE_WORDS 敏感词导入", requiredMode = Schema.RequiredMode.REQUIRED)
    private TaskType type;

    @Schema(description = "任务状态：UN_START 未开始；RUNNING 进行中；PAUSE 暂停；SUCCESS 成功；FAIL 失败；CANCEL 取消；ROLLING_BACK  回滚中；ROLLBACK_SUCCESS 回滚成功；ROLLBACK_FAIL 回滚失败")
    private List<TaskStatus> statusList;

}
